<template>
    <div v-if="visible">条件渲染</div>
</template>

<script>
export default {
    data () {
        return {
            visible: true,
        };
    },
}
</script>
